/**
 * Created by DevilsEyes on 2016/3/28.
 */
define(function () {
    var FAKE_JSON_PATH = '../testData/';
    var FAKE_API_LIST = {
     //   "user/order": "orderList.json",


        "": "纯粹占位"
    };

    return {
        getFakePath: function (url) {
            var path = FAKE_API_LIST[url.slice(api.length)];
            if (path) {
                return FAKE_JSON_PATH + path;
            }
            return null;
        }
    }
});